1: | a(f,a(f,a(g,a(g,x)))) | → a(g,a(g,a(g,a(f,a(f,a(f,x)))))) | |
2: | A(f,a(f,a(g,a(g,x)))) | → A(g,a(g,a(g,a(f,a(f,a(f,x)))))) | |
3: | A(f,a(f,a(g,a(g,x)))) | → A(g,a(g,a(f,a(f,a(f,x))))) | |
4: | A(f,a(f,a(g,a(g,x)))) | → A(g,a(f,a(f,a(f,x)))) | |
5: | A(f,a(f,a(g,a(g,x)))) | → A(f,a(f,a(f,x))) | |
6: | A(f,a(f,a(g,a(g,x)))) | → A(f,a(f,x)) | |
7: | A(f,a(f,a(g,a(g,x)))) | → A(f,x) | |